﻿<UserControl x:Class="Mosaic.Controls.ToolbarItem"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             RenderTransformOrigin="0.5,0.5" Margin="5,3,5,0"
             MouseLeftButtonDown="UserControlMouseLeftButtonDown"  MouseLeftButtonUp="UserControlMouseLeftButtonUp" MouseLeave="UserControlMouseLeave">
    <DockPanel>
        <TextBlock Name="TitleTextBlock" DockPanel.Dock="Bottom" Foreground="White" FontSize="14" HorizontalAlignment="Center" TextAlignment="Center" Margin="5,5,5,0" TextWrapping="Wrap"/>
        <Image Name="IconImage" Width="42" HorizontalAlignment="Center" RenderOptions.BitmapScalingMode="HighQuality"/>
    </DockPanel>
</UserControl>
